import pytest,os,sys

root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.append(root_path)

from logger import login


if __name__ == '__main__':
    login()
    pytest.main([r'C:\Users\张震海\Desktop\9_3\Case\Case.py','-s','--clean-alluredir',
                 '--alluredir=./report'])
    os.system('allure generate ./report -o ./html --clean')
